.pub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.filter-btn {
    padding: 2px 8px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #526173;
    font-size: 11.6px;
    font-weight: 500;
    letter-spacing: 0.025em;
    cursor: pointer;
}

.filter-btn[data-filter="selected"] {
    color: #334155;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    color: #1e3a8a;
    background: #f6f8fa;
}

.paper-row {
    display: flex;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.paper-row:first-of-type {
    padding-top: 10px;
}

.paper-row.pub-selected {
    padding-left: 12px;
    border-left: 2px solid rgba(30, 58, 138, 0.14);
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0));
}

.paper-img {
    flex: 0 0 180px;
    margin-right: 20px;
    padding-top: 3px;
}

.paper-img img,
.paper-img video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 6px;
}

.paper-content {
    flex: 1;
    min-width: 0;
}

.paper-title,
.paper-title:visited,
.paper-title.pending-link {
    display: block;
    margin-bottom: 5px;
    color: #1b2430;
    font-size: 17.6px;
    font-weight: 625;
    line-height: 1.32;
    letter-spacing: -0.015em;
    text-decoration: none;
    max-width: none;
}

.paper-title:hover,
.paper-title:active {
    color: #1e3a8a;
}

.pending-link {
    color: #6b7280;
    cursor: default;
    text-decoration: none;
}

.paper-title.pending-link {
    color: #1b2430;
}

.paper-authors,
.paper-venue,
.paper-desc,
.bibtex-pre,
.paper-note,
.tag-item {
    color: #475569;
}

.paper-authors {
    margin-bottom: 8px;
    font-size: 13.8px;
    line-height: 1.62;
    color: #667387;
}

.paper-authors .me,
.paper-authors strong.me {
    color: #273243;
    font-weight: 580 !important;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.author-marker {
    margin-left: 1px;
    color: #7a8593;
    font-size: 0.95em;
}

.paper-venue {
    margin-bottom: 5px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #2f3b4d;
}

.venue-name {
    font-style: italic;
    font-weight: 620;
}

.highlight-tag {
    margin-left: 8px;
    color: #9a3412;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.065em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: baseline;
}

.paper-desc {
    margin-bottom: 9px;
    font-size: 13.9px;
    line-height: 1.76;
    color: #738195;
    max-width: none;
}

.paper-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 5px;
}

.paper-links > * {
    line-height: 1.4;
}

.paper-links > *:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #c0c8d2;
}

.paper-links a,
.paper-links .bib-toggle,
.paper-links .pending-link {
    padding: 0;
    border: none;
    background: transparent;
    color: #7f8b9b;
    font-size: 9.8px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.paper-links > *:not(:last-child) {
    margin-right: 11px;
}

.paper-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px 0 5px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    color: #7b8796;
    font-size: 9.1px;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    line-height: 1.7;
    vertical-align: middle;
}

.link-stars-icon {
    display: inline-flex;
    align-items: center;
    color: #4b5563;
}

.link-stars-icon svg {
    display: block;
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.link-stars-text {
    color: #6f7c8d;
}

.paper-links a:hover,
.paper-links .bib-toggle:hover {
    color: #1e3a8a;
}

.bibtex-block {
    display: none;
    margin-top: 2px;
}

.bibtex-pre {
    margin: 0;
    padding: 13px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 6px;
    background: #f8fafc;
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
    line-height: 1.55;
    white-space: pre-wrap;
}

.paper-note {
    font-size: 10.7px;
    color: #8a95a3;
}

.year-header + .paper-row {
    padding-top: 10px;
}

.paper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.tag-item {
    padding: 2px 8px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: #f8fafc;
    font-size: 8.9px;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.tag-item.tag-embodied,
.tag-item.tag-vision,
.tag-item.tag-neuromorphic {
    color: #475569;
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.28);
}

@media (max-width: 860px) {
    .paper-row {
        flex-direction: column;
        padding: 17px 0;
    }

    .paper-img {
        flex: none;
        width: min(100%, 292px);
        margin-right: 0;
        margin-bottom: 13px;
        padding-top: 0;
    }

    .paper-title {
        font-size: 16.2px;
    }

    .paper-authors,
    .paper-venue,
    .paper-desc {
        font-size: 14.1px;
    }
}
